updated js for single image size, invited list