Ten good practices for writing JavaScript in 2005 Published on April 19, 2005 1. Make sure your JavaScript code is in balance with its environment Web Standards are a three-legged stool, or without metaphors, a threesome of technologies that should live together in harmony. (X)HTML adds structure and semantics to your content, CSS is responsible for its presentation, and the DOM provides an interf