Removed debug code from controllers.js