increase speed of javascript parser ~5%