Added two function definitions for Backbone.History