Created .js files and added them to .js manifest file. Changed main.gsp and index.gsp.