load_image.js: add and use function _create_new_image(); update documentation