Updates JQuery selector to look for first match, not last; very hacky; very hacky