fix class names in popover live examples in docs

BS3 commits: 43b7a942bc4eb2307353dcf32e7c245664546afc
add comment explaining which demos this JS is for

BS3 commits: 43ecc8726b608472c67f70ac56eb77407414b0c2