please double and triple check my code though, not a JavaScript expert.
EDIT:
had been working fine (since my previous changes, October 2017)
added one more CMC layout change fix (February 2018)
comparing the output of CoinMarketCapAPI with the official cmc-API, myself I do prefer this CoinMarketCapAPI, so I am planning to keep this updated, at least for a while
explanations, see
please double and triple check my code though, not a JavaScript expert.
EDIT:
Please merge with your master, thanks.