First HTML5 compatibility pass. Fixed ladders when going down