catch the other potential JS_Parse_Error too

I didn't catch this one with the first pull request I sent (and only noticed when I turned off source maps). I thought perhaps you'd think of a better way to re-use the error handling code than I would.