minor refactoring to ko template, still working through ember implementation