<p>I think it's more like <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/app/views/site/id.html.erb#L7">https://github.com/openstreetmap/openstreetmap-website/blob/master/app/views/site/id.html.erb#L7</a> isn't it? To add the two new includes after the iD one? Then call the methods in the place you mentioned.</p>

<p>You'll also need to include the two new files and them to <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/config/initializers/assets.rb">https://github.com/openstreetmap/openstreetmap-website/blob/master/config/initializers/assets.rb</a> so that they get precompiled.</p>

<p>There may be an argument for creating a new "meta" js file that requires all three though, so that they become one asset for the client?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/pull/893#issuecomment-73922687">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLTQeHVV3DX7JA931KZIOMRlQnh5Nks5nq4cKgaJpZM4DeHpB.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/pull/893#issuecomment-73922687"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>