anchor.diff:      ms_diff *= -1;
     }
   
  -  if (ms_diff < 60 * 1000) {
  -    return Math.floor(ms_diff / 1000) + " seconds ago"
  -  } else if (ms_diff < 60 * 60 * 1000) {
  +  if (ms_diff < 60 * 60 * 1000) {
       return Math.floor(ms_diff / (60 * 1000)) + " minutes ago"
     } else {
       return Math.floor(ms_diff / (60 * 60 * 1000)) + " hours ago"
  
positive.code: 
  $("#edit-content").on("keyup", function(){
    edit_form_keyup_handler();
  });
  
  edit_form_keyup_handler();
  
negative.code:     });
  }
  
  function set_preview_scroll() {
    var textarea = $("#edit-content");
    var preview_div = $("#js-preview-div");
  
    var scroll_frac = textarea.scrollTop() / (textarea[0].scrollHeight - textarea.height());
    preview_div.scrollTop((preview_div[0].scrollHeight - preview_div.height()) * scroll_frac);
  }
  
  function update_status() {
    if (cur_content == last_saved_content) {
      if (last_save_timestamp == null) {
  