conditionate the use of push state to use it only on browser which support it