Use ejs (https://github.com/visionmedia/ejs) to compile templates. Fixes #1