made navbar compatible with meteor