Remove hook method used for injecting JS to admin