Update back-todo.js

The new .js file is added after taking in the suggestion from the code review from the team.