routing work when js is disabled
always set active_count and completed_count in footer
make it work on page load
re-added submit on toggle-all, small fixes