FACES-1784 added javascript to make fileUploadChooser usable

FACES-1784 added javascript to make fileUploadChooser usable