Added auto redirect on Ajax error and hash nav menu href error