Fixed jslint error & small bug
Merge pull request #2 from toshipon/patch-1

Fixed jslint error & small bug