Edited formcontroller.js formatting