Get Object From Json Array Javascript Push And Pop In Stack