getlocation added in javascript