load_images.js: fix function remove()