added dir w code where attempting json loading into webpage for data display