sync.js troubleshooting