used jsonp for instagram photos. tested twitter photo attachment.

FIXED: bug during onload event