built and added newton.js to examples