Re-making resizer.js to allow easier JS tests.

Working on resizer.js.
Updating 00_resizer.js to fully work with prototype.