JSLint mi segnala un errore "inaspettato":

The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype. for (y in params.attr) {


Il codice sembra funzionare lo stesso, ma vi chiedo per non rischiare di avere qualche problema.
Non basta fare così?
codice:
for (y in params.attr) { // Linea incriminata
	if (y !== "prototype") { // Controllo che non sia il prototype
		// ...
		// ...
		// ...
	}
}