Loads demos from JSON file using global variable in snap.html