Remove uses of console in JS.

JOINDIN-445 #close Fixed.
Merge branch 'akrabat-remove-console-calls'