A simple function that extends two or many javascript object