Since you did not provide information about what browser and calling code what we can suggest is limited. However, since you are using jQuery 2, it is likely using an incompatible browser
http://jquery.com/browser-support/[
^].
Another possibility is that you are using another JavaScript library that is incompatible with the jQuery 2 library.