fixes to register event on delete button
Merge branch 'master' into js-fixDeleteUploads
Merge pull request #540 from nla/js-fixDeleteUploads

Js fix delete uploads