Use controller ID from JSON object in index.html