Fix for new jQuery versions: Added removed functionality.

If jQuery version is >= 1.9 add browser detection functionality from
jquery-migrate.

(Same commit as the last one - trying to fix the diff)
Merge pull request #10 from jwillmer/patch-1

Fix for new jQuery versions: Added removed functionality.