html fixing

fixed navigation and javascript loading