relocated demo from https://github.com/openpeer/opjs/tree/master/demo; rafactored