Removed "Console.log" for browser compatibility.