jquery and posting regid to server