/resources/js/: made statistics repeat AJAX call until death do them part