Change setTimeout(lhc(), 5000);. to setTimeout(lhc, 5000);. You're calling the function directly without a ...
stackoverflow.com