Prototype is cool but it's a little bit big. I tried to compress it with e.g. Dean Edwards Javascript Packer, but unfortunally there are some missing semicolons in the code. E.g. if you compress the following code with just removing unnecssary whitespaces and newlines
var x = function () {
doX();
}
var y;
following will come out
var x=function(){doX;}var y;
As you can see, we are missing a semicolon after the function declaration. Normally that does not matter because an ECMA interpreter automatically adds those semicolons if it expects a semicolon and finds a newline.
To cut a long story short, the attached diff adds those missing semicolons to Prototype 1.5.0_rc0 so that you can squeeze it to 1/4 of its original size.