Write ";" after static functions

JSHint complained about missing ";" after function declarations in
generated code, which is correct.

Before it was:

Foo.Bar = function() {
}

Now public static functions and property accessors are generated as
assignment with trailing ";":

Foo.Bar = function() {
};