trying to get rid of jquery ui dependency