Notes for phase 2 of refactoring jquery.tus.js