Replace syntax plugin of JavaScript