Removed console.log
Fixed a javascript error