https://github.com/sstephenson/prototype/commit/94e2863f5e6da2366053ab5c5a86958cf47ae458

This fix was already applied but syncing the order of statements with
upstream
https://github.com/sstephenson/prototype/commit/ded0dde6ebb869e96bf5fce670938129239a3d2f
update compiled js files with upstream commits