anchor.diff:        <% if defined?(target) %>
         <script src="/js/dusk.js" type="text/javascript"></script>
         <script type="text/javascript">
  +
           var myTarget = '<%= target %>'
           var dashboard = new Dusk(myTarget)
  +
           dashboard.setFavoriteStatus()
           dashboard.generateAxis()
           dashboard.generateRule()
           dashboard.generateHorizons()
  +
           // bind the favorite() action to an inactive star
           $('span.star').on('click', 'a', function() {
             $('.star a').addClass('active')
  
positive.code:             dashboard.setFavoriteStatus()
            })
          })
        </script>
        <% else %>
        <h2>Welcome to Dusk</h2>
  
negative.code:             dashboard.setFavoriteStatus()
            })
          })
  
          // bind the unfavorite() action to an active star
          $('span.star').on('click', 'a.active', function() {
            $('.star a').removeClass('active')
  