added dataFiles

fixed bugs with functions.js
removed unused json