<p>This is a good starter task:</p>

<ul>
<li>
<code>app/views/site/index.html.erb</code> has lots of JS & Ruby logic which should be pushed into Javascript files, ruby controllers & helpers. The JS also could use serious refactoring and cleanup</li>
</ul><p>Big views:</p>

<pre><code>loc
  73 app/views/message/read.html.erb
  75 app/views/diary_entry/edit.html.erb
  78 app/views/export/start.html.erb
  83 app/views/changeset/_map.html.erb
  84 app/views/user/login.html.erb
  91 app/views/site/_potlatch2.html.erb
  91 app/views/user/_map.html.erb
  92 app/views/browse/_changeset_details.html.erb
  92 app/views/changeset/list.atom.builder
 100 app/views/user/new.html.erb
 138 app/views/user/account.html.erb
 141 app/views/user/view.html.erb
 150 app/views/layouts/site.html.erb
 156 app/views/browse/_map.html.erb
 303 app/views/site/index.html.erb
</code></pre>

<p>/cc <a href="https://github.com/lxbarth" class="user-mention">@lxbarth</a></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/issues/78'>view it on GitHub</a>.
            </p>
            <img src='https://github.com/notifications/beacon/J6T91GIPIyhU-8ti4GCGP98_UZTRAhtyIjAjorWDZ_nanAji94TL4pqwAY07bz5G.gif' height='1' width='1'>