Refactored /removed header.js and move the jQuery functions to the index.js file.