Added getDatafunction to js to display links and stored data.