Change questions.js to be a JSON object
Update main.js to parse a JSON object and added export.functionName to stop leaking variables into global scope