Testing for JavaScript Execution