Patching in commit f650b0d from wycats/handlebars.js