JavaScript: jQuery Extend Plugin