setUserData in jswrapper