Add some silly javascript to image loading