Update controllers.js

Added some comments