Legacy Support

First proof of legacy layout support (has to use a little tacky js)