separate cubic-polynomial.js