Reverted header issue

Header with only javascript and html wasn't working out as intended.
Without using php and ajax the issue should be avoided for now.