JS updated to run jQuery getJSON