LB-1424 Removed un-needed comments

Added checks for console object before loging messages.