refactor js
Merge pull request #1 from surmin2005/master

refactor js