js-assessment with my solutions