moved js to head so nav would load