fix(loading): use the register function

should fix helpers/handlebars-helper-moment#4