Added pretty grid

Added CSS for nice selectable grid, and JS function modifications to
accommodate.
Changed template rendering technique to use `renderTemplate` and pass
into main template via handlebars (rather than inserting with jQuery).