change way to load js and css. fix top offset of navbar.