added wordWrap function (ready for description in tooltip!) (needs a refactor)