added jquery migrate due to major changes in jquery 1.9.0