ScriptableObject.defineClass(scope, JSNeuralNetwork.class);
ScriptableObject.defineClass(scope, JSTrainer.class);
ScriptableObject.defineClass(scope, JSEncogCollection.class);
//ScriptableObject.defineClass(scope, EncogJavascriptConsole.class);
this.console = new JSEncogConsole();
this.console.setConsole(this.externalConsole);
Object con2 = Context.javaToJS(this.console, scope);
ScriptableObject.putProperty(scope, "console", con2);
this.current = (JSEncogCollection)cx.newObject(scope,"EncogCollection");