Remove deprecated js