added location.hash endpoint