Switching javascript neural network to java

I just told you where I was getting the error.