Microlibrary for AJAX image downloading & preview via JS