<p>I've merged this to <a href="http://tomh.apis.dev.openstreetmap.org/">http://tomh.apis.dev.openstreetmap.org/</a> for people to try it out, but I have already spotted a few issues myself:</p>
<ul>
<li>You need to add <code>before_filter :require_oauth, :only => [:note]</code> to the browse controller so that it sets things up for OAuth to work in the AJAX requests.</li>
<li>If you comment on a new note that doesn't have any comments yet then the comment doesn't appear when you submit it as there is no list to append to.</li>
<li>The text input is not cleared after you submit a comment. </li>
</ul>
<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/264#issuecomment-17847939'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpkupOY_OQPxJczCGHZaIhXxF5BUbIPkC3GtdwA_3vlyl.gif' height='1' width='1'></p>