ENYO-2513: normalize the call/response of the fileChooser in order to use it for other properties
ENYO-2605: JSHint rule observance (partially done)