How to use $.extend();
http://www.jquery4u.com/function-demos/extend/
Use it in jQuery Plugin : https://gist.github.com/ethyde/7060709