remove legacy js version