JavaScript solutions for the first three Numbers problems

JavaScript solutions for the first three Numbers problems