Control of the Entanglement between Two Josephson Charge Qubits