Use jQuery's extend