I have a simple object (or hash) in Javascript:
var settings = { link: \'http://example.com\', photo: \'http://photos.com/me.jpg\' };
I nee
It sounds like you want jQuery extend, which can copy an object for you.
http://api.jquery.com/jQuery.extend/