Hopefully this wordWrap function is sufficent