Update todo.js - new features added

new features added:
- duplicates task/favorites check
- favorites tab
- task submission on hitting enter key
- enabling add button only when field is not blank