I am currently having an issue with JavaScript with Rails. I am using Rails version 4.1.8 and I have a drop down menu that I found online using JavaScript to control it. Previously I had all of the js assets precompile seperately in app/config/initializers/assets but I decided that was not really the proper way to handle it. I now have all the js just added into application.js when I run rake assets:precompile but strangely, even though I changed the javascript_include_tag to application.js, the function for clicking on the text and expanding the menu does not work. I am currently having an issue with JavaScript