Possible to inherite script?

A simple quastion: Is it possible to inherite a script with javascript and then overload functions?

Yup you can:

class A //this can extend MonoBehaviour if you need it to work as a script
{
    function Moo() { }
}

class B extends A
{
    function Moo() { } //overrides A's version
}