fix for issue#7

* pressing enter now calls ajax request as well.
Merge pull request #9 from lecs/fix_for_jpylyzer_issue_7

fix for issue#7