Added semicolons to server code for consistency and general formatting

I'm thinking we should also settle on whether to use tabs or spaces for indentation. The node.js code uses two spaces, and the angular code uses tabs. Which would be preferable?