correcting image grab issue with JSONp