finished recreating handlebars helpers into react mixins