my solutions of the functional javascript workshopper