Integrate js array- and object literals