Updating nav bar style and javascript functions to fire specifically on x pages