add navbar and javascript