Fix Javascript error
Merge pull request #2 from davisshaver/master

Fix Javascript error