added example-*.* so it would ignore local demo files
updated header comment, created extractHashrate method
improved looping logic (took DOM manips out), improved structure
fixed comment