final polishing to even more strictly align to the TodoMVC implementation styles: fix indentation; define before use; simplified Lodash usage; 'else' on same line as closing brace of 'if'