navbar path to javascript fix