load_images.js: implement update(), fix function remove()