JS solution to 9 added. Euler.js again required updates