Added project euler problem 1 JS solution