added simple js for helping with navigation