     LocalAnnotations.insert annotation, (error, id) =>
       # Meteor triggers removal if insertion was unsuccessful, so we do not have to do anything
       throw error if error
+
+    return # Make sure CoffeeScript does not return anything
 
 Template.publicationAnnotations.annotations = ->
   LocalAnnotations.find

    return # Make sure CoffeeScript does not return anything

Template.annotationsControl.events
  'click .add': (e, template) =>
    annotation =
      author:
        _id: Meteor.personId()

  $metaMenus.each (i, metaMenu) =>
    $(metaMenu).css
      zIndex: BASE_Z_INDEX + $metaMenus.length - i

Template.annotationMetaMenu.events
  'click .delete': (e, template) ->
    LocalAnnotations.remove @_id, (error) =>
      # Meteor triggers removal if insertion was unsuccessful, so we do not have to do anything
      throw error if error

    return # Make sure CoffeeScript does not return anything
