Update samples.js

adding extra property to array object