contador javascript A good read 
N4MO