Add Autoplay button and Javascript