Fixed JS glitch which broke the dashboard periodical updates