render templates server side for rails

using ExecJS and the handlebars javascript source
the handlebars templates is rendered on the server

objective is to keep templates DRY. same template
on the client and server