Novetus has a clientScriptTest client, so maybe that would be a good start. "ClientScriptTester: A "client" used to test out every possible ClientScript option. The clientinfo is unlocked as well, so you can modify as you please." - Client description.