geString implemented as using JavaScript Functional Pattern