Simple quadratic equation solver in JS.