oojs set up, json from index set up