break down js section into subsections