fix registerHelper to look for name on prototype if not explicitly
provided