Avoid heavy nesting Make it
understandable Optimize loops Avoid globals Keep DOM access to a Stick to a strict coding style minimum Comment as much as needed Don't yield to browser whims but not more Don't trust any data Avoid mixing with other technologies Add functionality with JavaScript, not content Use shortcut notations Build on the shoulders of Modularize giants Enhance progressively Development code is not live Allow for configuration and code translation