preaggregation via mapreduce , 1st level
preaggregation via mapreduce, JS fix, test fix
preaggregation fix