Template for to do list in javascript