Nice easy counter in java script from Codecademy. (could be modular)