migration to jQuery done