basic nav edited .js