Fix base.js
Fix human amount detection in .payment
Refactor amount
Refactor amount
Test coverage