Create app.jsvar main = function() {     $('.dropdown-toggle').click(function() {         $('.dropdown-menu').toggle();     }); };  $(document).ready(main);