You will can use `for(key in Pbject.keys(params)) {...}`. It is supported in new browsers and I have added a prototype on another branch for backwards compatibility. This would mean you wouldn't need to check `hasOwnProperty()`.