halt execution of buttons.js + fix for autoplay