-infrastructure.h.e: try to implement CORS acc. to soychicka on stackoverflow
_infrastructure.h.e: faye subscriptions work automatically on page load
channels_controller.rb: render json and allow client to do work
_infrastructure.h.e: rewritten to work with json response from rails server