delete controller and javascript updates