pakmanaged.js
function(data, options){
    		var handler = new DomHandler(options);
    		new Parser(handler, options).end(data);
    		return handler.dom;
    	}
function(data, options){
    		var handler = new DomHandler(options);
    		new Parser(handler, options).end(data);
    		return handler.dom;
    	}
helper methods