$(document).ready(function() {

  var form = $('form#new_drop');
  form.on('submit', function(e) {
    if($('input#sc_url').val() == '' && $('select#drop_sc_track').val() == '') {
      var message = $("<li>SoundCloud track and SoundCloud link can't both be blank</li>");
      var ul = $('<ul>').append(message);
      var div = $('<div>Sorry about that! There is an error</div>').append(ul);
      var alert = $('<div class="alert alert-danger">').append(div);
      var error_box = $('<div id="error_explanation">').append(alert);
      form.prepend(error_box);
      return false;
    }
  });
});

function initMap() {
  var map = new google.maps.Map(document.getElementById('map'), {
    zoom: 15,
    center: { lat: dropLat, lng: dropLong }
  });

  var icon = {
    url: soundDropMarker,
    scaledSize: new google.maps.Size(50, 50)
  }

  var marker = new google.maps.Marker({
    // maps API position, what is map.getCenter return
    position: map.getCenter(),
    icon: icon,
    map: map
  });
}

@@ -599,410 +599,4 @@
 );%0A%0A
-function initMap() %7B%0A  var map = new google.maps.Map(document.getElementById('map'), %7B%0A    zoom: 15,%0A    center: %7B lat: dropLat, lng: dropLong %7D%0A  %7D);%0A%0A  var icon = %7B%0A    url: soundDropMarker,%0A    scaledSize: new google.maps.Size(50, 50)%0A  %7D%0A%0A  var marker = new google.maps.Marker(%7B%0A    // maps API position, what is map.getCenter return%0A    position: map.getCenter(),%0A    icon: icon,%0A    map: map%0A  %7D);%0A%7D%0A

delete code that was moved to map.js