ok perfetto ma in js come faccio a richiamarla ogni tot secondi?