Avoided multiple ajax requests caused by hashchanged events