Fixed bug on chrome

Removed consle.log()s