removed the through module from the example and removed the need for setTimeout()

This is maybe a bit too pedantic.. feel free to ignore