fix js bug in ECMA 3
fall back file upload message