Corrected bug in sections.js