Change http to request JSON to get module data. Error corrected.
Take note of delays during request of data from nusmods.