added some more descriptive comments
renamed to detect-autoplay.js