Bug 836897 - Final DOM Boilerplate. Compiles.
Bug 836897 - Added pref