rewritten userdropdown to jquery syntax