Change setTimeout request JS