Added js to set active nav tab

@davearel @craigulliott