Removed alert and spelling error in newton.js