removing mainnav_dropdown.js from layout/application.html.erb. It is already added in application.js require tree