[javascript] Execute the setInterval function without delay the first time