check extensions have script files before trying to load them in the question editor