add selected sample to ga tag
removed duplicate link. updated link to readme.mscin
added polyfill for String.endsWith (only supported in ff)

Found on: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith