changes after code review on handlebar helpers