Added documentation for getLast()

also removed a console.log in toad.js