Included the application.js file in application.html.erb, routes, added application.js File