split out source check from picturefill