Added comments to elements_controller.js