js correction #2