Correctly parsing CSS internal style

I just realised that JS split with limit is not quite like python's.