based on addyosmani / todomvc / ember