Putting all JS links in footer and cleaning up script.js