Update Controller.js

removing debug alert box