Fixed typo in uninitialize function. Put informative console.log statements in comment.