Fix unterminated statements.
Merge pull request #3 from jasonsturges/statement-termination

Terminate statements in main.js