Of course, you should also namespace all JavaScript code used in extensions.
== Support Panning ==
Fennec does not show scrollbars. Finger touch panning is used to move and scroll through content. Many standard XUL widgets (<code>scrollbox</code>, <code>autoscrollbox</code> <code>listbox</code> and <code>richlistbox</code>) are already supported in Fennec. If you create a custom XBL widget which embeds one of these scrollable widgets, you'll need to expose a <code>scrollBoxObject</code> property from your XBL, so Fennec can access the scroll box object of the embedded widget.