Switching javascript neural network to java

@MxFxM I’m not saying the compiler does it bad, I’m just saying that there’s a shorter syntax.