removed dependencies to dom and dom-events libs