Added console log to diagnose setInterval mystery