16. The computer program product of claim 12 , further operable to: parse the snippet to generate a Document Object Model (DOM) tree and a parsed Javascript expression tree; determine a target portion in the snippet based, at least in part, on the editing rules and the DOM tree and the parsed Javascript expression tree; and modify the target portion in accordance with the one or more editing rules.
17. The computer program product of claim 16 , wherein the target portion is determined based, at least in part, on one of a path, an address or a definition in a hierarchy.