javascript realtime widget framework