Generalise `setupButtons` to `setup`

The #hacker div is no longer emptied and redrawn, but the onclick
attributed is changed for each image when necessary.
Changes recomended by JSLint
More JSLint
more JSLint fixes