fix to init error in select from server modal
Merge pull request #1897 from rossriley/fix-async-files-js

fix to init error in select from server modal