SimpleIntv: wrap setInterval function so it is easy to start, pause and clear a loop