<script type="text/javascript">
//Shop items start
window["shop_items"] = [];
window["shop_items"][window["shop_items"].length] = {name: "Меч",description: "Описание товара",price: "5",count: "2",seller: {id: "ID продавца", nickname: "Наруто"}};
...
//Shop items end
</script>