Attempt to integrate private_pub (sample use). Unfortunately it is possible to setup only one channel via Rails template for a browser - no chance to do this from js directly.