Self-Testing Pages with JavaScript
Ross Bruniges demonstrates a way JavaScript can be used during the development phase to highlight errors in the markup as they occur. By constructing simple tests you can spot problems fast and fix them before they become an issue.