js lib ode solver crapped out

so wrote the R one