add some js to add todo items