Update background and Magellan Nav Bar with js