         })
     }
 
+    // Only called when the server has info for client to save
     func saveInitData(data: JSON) {
+        // Sync Seed
         if let seedDict = data["arg1"].asDictionary {
             
             // TODO: Use js util converter


    private var syncDeviceId: [Int]? {
        get {
            let deviceId = NSUserDefaults.standardUserDefaults().integerForKey(prefNameId)
            return [deviceId]
        }
        set(value) {
            NSUserDefaults.standardUserDefaults().setValue(value?.first ?? nil, forKey: prefNameId)

            }
            syncSeed = "\(seedArray)"

        } else if syncSeed == nil {
            // Failure
            print("Seed expected.")
        }
        
        // Device Id
        if let deviceArray = data["arg2"].asArray where deviceArray.count > 0 {
            syncDeviceId = deviceArray.map { $0.asInt ?? 0 }
        } else if syncDeviceId == nil {
            print("Device Id expected!")
        }

    }

}
