js homework2