added main.js from todomvc
replaced spaces with tabs
removed excess brackets
configured mainfile to work with my paths