improved exceptions for js parser
final fix for multiline values