BugFix for ajaxpost: Reset params property even if only $method is set