Add exercises for functions  in JavaScript