Bug 917942 - Create a JS interface to Sync configuration. r=margaret