JS for standalone masthead w/ and w/ out jquery