functional javascript upto challenge 8