update sugar, add ie8 compatability for array.reduce