Testing if hashchange is needed inside frameChange