[Moved] external JS to UI class + working on loading KML file.