Update digg.js

Replace the 'for' by '.each()'.