anchor.diff:                <li id="lesson-plan-open-milestone-generator" data-toggle="modal" data-target="#lesson-plan-multi-milestone" >
                   <a href="#">Generate Milestones</a>
                 </li>
  -              <li>
  -                <a class="academic_milestones_generator" href="#">Generate NUS Academic Milestones</a>
  +              <li id="academic_milestones_generator" data-toggle="modal" data-target="#generate-nus-academic-calendar"  >
  +                <a class="a_academic_milestones_generator" href="#">Generate NUS Academic Milestones</a>
                 </li>
               </ul>
             </div>
  
positive.code:       </div>
        </form>
    </div>
  <% end %>
  
  <% if @ivle_token %>
  
negative.code:         }
      });
  
      $('a.a_academic_milestones_generator').click(function() {
          $('#span_error').hide();
          if($("#ivle_token").length && $("#mapping_module").length) {
              var key = $("#ivle_api").val(), token = $("#ivle_token").val(), user = ivle.User(key, token);
              user.init().done(function () {
              });
  