Define rateService on history.js. Fix filter noFractionNumber if alterna...

...tiveAmount is null.