Moved member into template, added Handlebar variables, defined variables in JS