change identification method to work with jQ2.2

needs testing with 1.x
Merge pull request #1 from joshcarr/patch-1

change identification method to work with jQ2.2