navbar script change for firefox