Instead of looping over properties from the prototypes then filtering them out in an if, do a forEach over Object.keys(this._queryString) instead of the existing for loop.