anchor.diff:        SMWidth = container.width();
         SMHeight = container.height();
   
  -      for (var c = 0; c < MAX_DISPLAYED_MAPS; c++) {
  +      for (var c = 0; c < MAX_DISPLAY_MAPS; c++) {
           setObjectDimensions(document.getElementById('sm-' + c), SMWidth, SMHeight);
         }
       }
  
positive.code: </div>
  
  <script type="text/javascript">
    MAX_DISPLAYED_MAPS = <%= MapsController::MAX_DISPLAYED_MAPS %>;
  
    var maps = <%= raw @maps.map(&:to_hash).to_json %>
  
  
negative.code:   </div>
  </div>
  <div class='bottom-bar'>
    <% MapsController::MAX_DISPLAY_MAPS.times do |index| %>
      <div class='small-map'>
        <img id='sm-<%= index %>'/>
      </div>
  