More uploader js changes