Tweaked unit tests to only include jquery-migrate for jquery 1.8+