Added RET redifine for JS and prog-mode