Move isNumerical function to PluginEditor.js