Data Sync JavaScript API demo (with simulated smartypants home)