coffeescript again, also wrapped HLWhitespace in a func