Fixed overly broad Lightbox pattern

The current Lightbox pattern will scan the entire HTML of a page for each occurrence of `<link` in the source code. Making it more strict will improve performance.