fix blank value of '#' hash on ie browser