Mousetrap.prototype.record