Fix warning
Use CDN from options as stated in the README
Add possibility to specify supportedTypes in the options