Added statically typed JavaScript classes à la TypeScript.
Added support for JSDynamic and 'varargs' methods.