incremental reporting works great under scalajs, code is a mess