Object Inside Array In Javascript Example