indexOf notes
actual code
added CDN notes