Fix webhooks link in realtime plugin readme
Add support for requiring viewer.js with CommonJS syntax