ability to attach event only once
updating minified version