Revert "Update autoplay.js"

This reverts commit 0d10b73d408138aebf7a1e29a4f7828297059199.