Use array to set todo from cookie, and render jade by using array.