JS: Fixes for currency comparison.
JS: Fixes for currency comparison.

darkdarkdragon/ripple-lib,wilsonianb/ripple-lib,darkdarkdragon/ripple-lib,darkdarkdragon/ripple-lib,wilsonianb/ripple-lib,ripple/ripple-lib,ripple/ripple-lib,wilsonianb/ripple-lib,ripple/ripple-lib,ripple/ripple-lib