Fixed active header nav link detection on localhost