Fixed unused parameter in call to registerClientScript.