getJSON fiddling and put dist in gitignore file