Todo Lab in JavaScript