switching to jquery from tabindex and focus