Add js example test file
Add error locattion information to parseerror event.