fixed bug in <img> input to divifyImage; finished demo.html