Fix JavaScript parser.