Changed paths to include "data/" and changed loading of JSON file - require always appends ".js"