added simple sample for ajax.