Packing DOMHelpers into object.
Fixing missing commas, extra white spaces etc.