moved algebra.js output