[wip] collaborative wiki code review

$script can be removed with webpack, code can reside in either wiki-edit-page.js or WikiEditor.js