adding some javascript for Google API