Removed use of console in JavaScript.