testing ajax and autoplay