Update src/editor/EditorUtils.js

Added support for Dynamic HTML and .pyw (Python script that doesn't need to invoke console).