Staged auto reveal headings JS