Use jquery migrate script.