Loading scripts from webapps/js, mocking classes metadata. Added some function into main.coffee.