Updated javascript with code supplied by Mervin Atmosfera as directed in: https://gatedshores.basecamphq.com/projects/11511340-workopolis-b2b-header-adjustment/posts/80015993/comments#254322282