correct $.extend (issue #1)