Can you also remove the `var hasPushState` above?