Change js structure
Merge pull request #10 from hhba/organize-js

Change js structure