Australian postcodes with Geolocation

Recently I needed Australian postcodes with Geolocation to work on a project. I have foked the list form randomecho; modified & converted to CSV & JS/JSON format. You can download or fork from here.

Javascript: change div or span content

document.getElementById("myAnchor").innerHTML = "Shohag Bhuiyan";
document.getElementById("myAnchor").href = "";
document.getElementById("myAnchor").target = "_blank";

Accessing variables from other functions without using global variables

var MyApp = {}; // Globally scoped object
function foo(){
MyApp.color = 'green';
function bar(){
alert(MyApp.color); // Alerts 'green'