Simple JS utility for parsing numbers written in words to real numbers