Modified if statement

I modified line 45 of jquery.getimagedata.js to check for the one case that we do not want ( secure url reaching out to insecure server ).