     $.subscribe 'stickyHeader.profilePage', @_tabsStick
     $(window).on 'throttled-scroll.profilePage', @pageScan
 
-    $(@refs.pages).sortable
+    $(@pages).sortable
       cursor: 'move'
       handle: '.js-profile-page-extra--sortable-handle'
       revert: 150
       scrollSpeed: 10
       update: @updateOrder
 
-    $(@refs.tabs).sortable
+    $(@tabs).sortable
       items: '[data-page-id]'
       tolerance: 'pointer'
       cursor: 'move'


      div
        className: "hidden-xs page-extra-tabs #{'page-extra-tabs--floating' if @state.tabsSticky}"
        ref: 'tabs'

        div
          className: 'js-sticky-header'

    $.unsubscribe '.profilePage'
    $(window).off '.profilePage'

    for sortable in [@pages, @tabs]
      $(sortable).sortable 'destroy'

    document.body.dataset.profilePageState = JSON.stringify(@state)

