use jq.ajax() with the method of Post instead of Get for rmDesktop command
revert the change, IE and Old Opera 12.x won't work with Post method in onbeforeunload event