Bug 854102 - Fix JS syntax errors that broke the builtin file picker.  r=mounir