navbar

fixed the code for initializing the javascript plugins