added parse private message to jswrapper