Simple but powerfull JavaScript Timer