<html>
<head>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="./build/unstyler.min.js"></script>
<script type="text/javascript">
$(function() {
  $('textarea#text').on('paste', function(e) {
    e.preventDefault();
    var clipboard = e.originalEvent.clipboardData;
    var html = clipboard.getData("text/html") || clipboard.getData("text/plain");
    $(e.target).val(unstyle(html));
  });
  $('div#html').on('paste', function(e) {
    e.preventDefault();
    var clipboard = e.o