Adding JavaScript file for todo list