updating js x2