Sample using js interop and google realtime api