Looks like a lot of Javascript too! http://wolfenstein.bethsoft.com/game/js/load.js
Just speculation, but compiling might have led to a faster result (the compiled Doom was faster than this).
edit: Nevermind, looks like it renders using divs and not canvas. I guess they focused on compatibility with as many browsers as possible and not on performance.