Fix a typo in javascript code
Merge pull request #241 from lschoepps/fix_javascript_typo

Fix a typo in javascript code