Where is the WP auto-save draft JavaScript?

I believe the file responsible is wp-includes/js/autosave.js. There is a dev version for easy reading.