Added js to upload script and enabled minification on script