Removed the dependency on prototype.js.