Use execCmd instead of execCommand in upload plugin