fixes on keypress bitches
Merge pull request #7 from varunrau/jordeen/javascript

fixes on keypress bitches