added javascript for navigation i forgot