exercises in JS