js added, navigation implemented