Bulk image loader for JavaScript