Fix minor javascript style issues, missing semi-colons.
Merge pull request #145 from tarmstrong/javascript-nitpicks

Fix minor javascript style issues, missing semi-colons.