Java Script error in Quick Preview

When I hit “enter” the quick preview pops up allowing me to view the animation, but i have to click off the java script box every time before it will play. It is quite annoying and I am at my wits ends. It does it with IE and Chrome both. I have tried to change plug in settings with no luck. I have a video of what happens as well as a screenshot. Can anyone please help me??