updated for rc6 and handlebars 1.0.0