Fixed Memory Leak

Just updated the `src` attribute for all of the images, instead of adding and removing the `img` DOM nodes.