Revamped code. Code is now more reusable. And can be used on any website.
Added 'city' field after 'state'.
Everytime, user inputs on a new text field, a get request is set, instead of a single get request on window.onload
event. Making it more dynamic and resourcefull.
Next > making the popup as a dropdown beneath the text field.
put xml files into data folder.