Added jquery migrate to work with 1.9