Reporting: classification tidy up js variable arrays