Adding object related javascript examples