use jasmine 2.1.2; refactoring code and added note
added test to check wrapping more then one word in span