fix file-input: fix jshint error