code style and possible fix in fielupload js