removed jquery code from to controller.js