(JS) removed some unnecessary console logging