WIP - nearly fixed all the bugs with the sliceWidget.js. I still have got to
replicate the code for the right handle.
/**
* @param {Page[]} pages
* @param {number} [id] Specifies the id, if applicable.
* @param {String} [title = This is untitled.] Specifies the title.
*/
function Document(pages, id, title){
}