fixing pinning jquery element selections.