renamed script.js to controller.js