section 2 javascript