js fixes
Merge pull request #3 from drewbo/test

js fixes