       $('.likes-button a').bindAjaxHandler self.likesStatusHandler
       $('.likes-button.like a').bindAjaxHandler self.likeHandler
       $('.likes-button.unlike a').bindAjaxHandler self.unlikeHandler
-      $d.keydown self.action
+      $d.on 'keydown', self.action
 
   class Comments
     self = this

    do ->
      $d.on 'click', '.media-grid.photos a', self.toggle
      $d.on 'click', '.modal.media-panel .close', self.close
      $d.keydown self.action
      $w.resize self.resize

  class Likes
    self = this

        panel.find('.comments-button.create-comment a').click()

      do ->
        $('.modal.create-comment form').bindAjaxHandler self.handler
        $d.on 'click', '.comments-button.create-comment a', self.show
        $d.on 'click', '.modal.create-comment .username a', self.reply
        $d.on 'click', '.modal.create-comment a.tag', self.tag
        $d.on 'keyup change', '.modal.create-comment [name="text"]', self.validate
        $d.on 'click', '.modal.create-comment [name="cancel"]', self.hide
        $d.on 'keydown', self.action

  class Relationships
    self = this
