equations systems code bricks for JavaScript