Changed JS files to be erb files. topMenu directive added