check if jquery is defined before exporting pinchzoom