Add objects and arrays basic examples on JavaScript