Can we do something like https://github.com/MorganDawe/islandora_image_annotation/blob/4bfcd998a4f15968db9399e6a3d583f9fcf34d11/shared_canvas/stable/islandora_image_annotation_init.js#L19 rather than changing $ in global scope?