bug #920 - removed console.log from JS