Write ";" after static functions

JSHint complained about missing ";" after function declarations in
generated code, which is correct.

Before it was:
```javascript
Foo.Bar = function() {
}
```

Now public static functions and property accessors are generated as
assignment with trailing ";":
```javascript
Foo.Bar = function() {
};
```