openstreetmap/openstreetmap-website — pull request #127 by jfirebaugh (2012-10-11 19:22:16+00:00)
Title: Use ejs templates in browse JS

There are a few other JS-related cleanups in this PR, but
the main commit replaces the tedious manual DOM manipulation
with EJS templates.

EJS is sort of the lowest common denominator JS templating
language. It would be fairly easy to port to mustache or
something if anyone has a strong preference. I've purposefully
kept the templates pretty much logic-free.