Go back to an interval for checking window location as it is the only thing that works completely with pushstate