fix missing semicolon
specify return value
Merge pull request #1 from mizoR/fix-jsl-warnings

Fix JSLint warnings