simplify/dry upp unite.apply
simplify data-style -> data a bit
small cleanups
forEach polyfill + replace two for-loops with it