Added centerAndZoomOnKmls function.
Fixed KML related logic.
Added missing semicolon.