Code cleanup, removal of JavaScript based resizing hack