Midway working through javascript for nav