debug consoel js updated