Better display javascript parse errors
Merge pull request #4 from abarax/master

Better display javascript parse errors