Code coverage and debugger for JavaScript