Bottles of beer in Javascript using a for loop.