function Events(nodeList) {
this.nodeList = nodeList;
};
Event.prototype.addEventListener = (event, callback, boolean) => {
[].forEach.call(this.nodeList, (el) => el.addEventListener(event, callback, boolean));
};
function $(el, context)
{
var result = document.querySelectorAll(el, context || document);
return new Events(result);
}