Problem 2 js first crack