Fix CharRangesArray.prototype

Check function is getting called twice, which is causing the TypeAlreadyRegistered error.
Removed extra call from CharRangesArray.prototype