Adding code for a single page todo app that only does an ajax get