reconnect js for style swap nav