A javascript object builder using jQuery-chain style