Added basic JSON get req
Added basic AJAX put request for todo item