Clean up javascript style
update todo list