fix js lint errors
Merge pull request #2 from runningcode/master

fix js lint errors