first js for async upload