added js basic object example