create realtime.js