There's a good chance I'm using "out of scope" variables here, when appending img's src value to the source set. @tabatkins ?