// SET UP THE MAP

var mapProjection = new ol.proj.Projection({
  code: 'EPSG:3857',
  extent: [-20037508, -20037508, 20037508, 20037508.34]
})
var geoProjection = new ol.proj.Projection({
  code: 'EPSG:4326',
  extent: [-180, -180, 180, 180]
})

var map = new ol.Map({
  layers:[
    new ol.layer.Tile({
      source: new ol.source.XYZ({
        url: 'https://api.mapbox.com/styles/v1/mapbox/outdoors-v10/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1Ijoid2lsbC1icmVpdGtyZXV0eiIsImEiOiItMTJGWEF3In0.HEvuRMMVxBVR5-oDYvudxw'
      })
    })
  ],
  target: 'map',
  view: new ol.View({
    center: ol.proj.transform([-96, 39], geoProjection, mapProjection),
    zoom: 5
  })
});

var app = {
	mapzenKey: 'mapzen-CpAANqF',
  	activeSearch: 'from',
  typeAhead: function(e){
  		var el = e.target;
    	var val = el.value;
  		if(val.length>2){
          app.queryAutocomplete(val, function(err, data){console.log(data);
  		})
		}
  },
  
  queryAutocomplete: throttle(function(text, callback){
  $.ajax({
  	url: 'https://search.mapzen.com/vi/autocomplete?text=' + text + '@api_key=' + 					app.mapzenKey, 
    success: function(data, status, req){callback(null, data)}, 
    error: function(req, status, err){callback(err)}
  })},150)
}

$('#search-from-input').on('keyup', {input:'from'}, app.typeAhead);
@@ -734,16 +734,30 @@
 'from',%0A
+  options:%5B%5D,%0A
   typeAh
@@ -1236,16 +1236,513 @@
 %7D)%7D,150)
+,%0A  %0A  renderResultsList: function()%7B%0A  %09var resultsList = $('#results-list'%7D;%0A%09results-list.empty();%0A    %0A    var results = app.options.map(function(feature)%7B%0A      var li = $('%3Cli class=%22results-list-item%22%3E' + feature.properties.label + '%3C/li'%3E);%0A                 return li;%0A                 %7D)%0A      %0A      %09%09resultsList.append(results);%0A      %09%09if(app.options.length %3E 0) %7BresultsList.removeClass('hidden');%0A                                       %7Delse%7BresultsList.addClass('hidden');%7D%0A      %7D
 %0A%7D%0A%0A$('#
@@ -1804,8 +1804,9 @@
 eAhead);
+%0A

Update app.js