update js/controllers.js