made getVATRates synchronous to avoid concurrency problems
indentation
Merge pull request #1328 from csalvador/develop-fixAJAX

Develop fix ajax