fixed js issue
Merge pull request #1 from bradygaster/master

fixed js issue