Added more comments for console.log statments.