added new js files, and sorted out todo.js