removing command property before calling server ajax function