Be more generous with our sourcemap discovery

The sourcemap indicator line doesn't have to be the last line in the
document, so it's not too safe to assume so.

jQuery, for example, puts it at the top.