A lot of view code here. Instead of building all these DOM elements by hand, can you render an external view template?