A class for handling ajax calls based on jQuery and the history plugin