fix navbar display by removing the requirement of jquery.js