<!doctype html>
<html>
<head>
  <script src="third/jquery-2.1.1.js"></script>
  <script src="third/underscore.js"></script>
  <script src="magic.js"></script>
</head>
<body>
  <form>
    <textarea id="spell_desc" cols=50 rows=10></textarea>
    <input type="submit" id="draw_btn" label="Draw">
  </form>
  <span id="error_msg"></span>
  <br>
  <canvas id="spell_canvas" width="500" height="500"
          style="border:1px solid #000000;">
  </canvas>
</body>
</html>

<!doctype html>
<html>
<head>
  <script type="text/javascript" src="third/jquery-2.1.1.js"></script>
  <script type="text/javascript" src="third/underscore.js"></script>
  <script type="text/javascript" src="magic.js"></script>
</head>
<body>
  <form>
    <textarea id="spell_desc" cols=50 rows=10></textarea>
    <input type="submit" id="draw_btn" label="Draw">
  </form>
  <span id="error_msg"></span>
  <br>
  <canvas id="spell_canvas" width="500" height="500"
          style="border:1px solid #000000;">
  </canvas>
</body>
</html>

Add type attribute to script tags
Add type attribute to script tags
