Use setTimeout instead of setInterval (JavaScript)

See https://github.com/marienfressinaud/FreshRSS/pull/585