NXP-11927: do not use 'history.pushState' on non-compatible browsers