more refactoring, started the 'update static data update all excess burns and cumulative burns' but running into an illegal token after trying to interpolate a ruby array into two JS functions to automate day totals and previous day total calculations