jquery ui factory widget
http://coding.smashingmagazine.com/2011/10/11/essential-jquery-plugin-patterns/
https://github.com/addyosmani/jquery-plugin-patterns/
http://www.queness.com/post/112/a-really-simple-jquery-plugin-tutorial
http://addyosmani.com/resources/essentialjsdesignpatterns/book/#jquerypluginpatterns
js addEnevntListner callback
http://developer.appcelerator.com/question/69201/this-inside-addeventlistener-callback