added .js to 'index.js' on controller