simple js polynomia