Javascript Adding Values To Pivot