Word wrapper TDD kata for JavaScript