NXP-11327 integrate JS to handle FileUpload cancel