Removing references to old js