https://github.com/addyosmani/todomvc/issues/381

Bug fix for https://github.com/addyosmani/todomvc/issues/381