refactor htmlstructure and design elms for integration with backbone / _underscore