Fixed JSLint errors
Merge pull request #6 from orviwan/patch-1

Fixed JSLint errors