when html is requested through ajax, it is no longer wrapped in the layout. closes #12