removed deprecated js