Added the core support .js library.
Made class creation lazy.
Added a terminating ';' to .js files so they can be cat'ed.
Added codegen for array values and switch-like matches.