supports = function () {
		return (
			'querySelector' in document &&
			'addEventListener' in window &&
			'requestAnimationFrame' in window &&
			'closest' in window.Element.prototype
		);
	}
Check if browser supports required methods
@return {Boolean} Returns true if all required methods are supported