Changed studdybuddy.js to work with images and annotations