uploader/uploader.js optimization and updates