Fix match for javascript.