javascript: optimize constructor allocation
javascript: inline some SLIDEs and PROJECTs
javascript: fix stray semicolon
Merge pull request #1347 from raichoo/javascript

Javascript