ENG-7084 added checkbox 'Expand All' in schema report

Please make the whitespace in this block more consistent with the existing javascript code (which is MOSTLY self-consistent):
  Use a single space between "if" and "(".
  Use a single space, no newline, between ")" and "{".
  Use a newline and indent before "else"
  Use a four-space indent within "{" blocks.