There are my answers for the Euler Project in Javascrip