introduce slave.js as a controller for the browser.

This means when the browser crashes (happens a lot) the client can recover from that
fixup! introduce slave.js as a controller for the browser.
fixup! fixup! introduce slave.js as a controller for the browser.
Merge branch 'master' of https://github.com/bthorben/pdfRepo
fixup! Merge branch 'master' of https://github.com/bthorben/pdfRepo