How can I modify my JavaScript to prevent it from looping and re-executing multiple times

visit shbcf.ru