I simple lib to handle intervals in JavaScript