cleaning up js a bit
Merge pull request #2 from bondydaa/dev

cleaning up js a bit