Change number of thumbnails in image result?

By default the image result page is only one row with ~10 columns. I imagine that the setting for this is in a .js file somewhere. Anyone know which one?