add the missing javascript
Merge pull request #26 from Avinash-Bhat/bug/fix-pull-#23

add the missing javascript