Fix some minor syntax and style issues reported by eslint and jscs.
Merge pull request #10 from anaran/eslint-jscs-driven-fixes

Fix some minor syntax and style issues. Missing semi-colons, lines over 80 chars, etc.