Added requirejs gem and configured application.js