Organise js. Right now you have js files using different patterns for containing functionality. We have: Everything written into the root of the file (don't do this!); everything wrapped in jquery document.ready function (this is fine); everything wrapped in iife (this is also fine). You should organise your js! Having a bunch of different scripts lying around with different invocation patterns in the root of you project is not good... Either have zero / one js file per page (clearly named) or have just one js file.
Organise js. Right now you have js files using different patterns for containing functionality. We have: Everything written into the root of the file (don't do this!); everything wrapped in jquery document.ready function (this is fine); everything wrapped in iife (this is also fine). You should organise your js! Having a bunch of different scripts lying around with different invocation patterns in the root of you project is not good... Either have zero / one js file per page (clearly named) or have just one js file.