Add Javascript into uploadView