// Application javascript here
$(document).ready( function() {
  if ( !jQuery.browser.msie )
  {
    $('div[data-view-source=yes]').each( function() {
      var text = $('<div/>').text($(this).html()).html();
      $(this).after('<pre class="template">'+text+'</pre>');
    });
  }
  var $div = $('ol li').wrapInner('<div></div>').children('div');
});