<head>
  <script type="text/javascript" src="https://cdn.rawgit.com/janl/mustache.js/master/mustache.js"></script>
  <script type="text/javascript" src="js/writingPageFactory.js"></script>
  <script type="text/javascript" src="js/templates/writingPageTemplate.js"></script>
  <script type="text/javascript" src="js/lib/writingPageConfig.js"></script>
</head>


<head>
  <script type="text/javascript" src="https://cdn.rawgit.com/janl/mustache.js/master/mustache.js"></script>
  <script type="text/javascript" src="js/templates/writingPageTemplate.js"></script>
  <script type="text/javascript" src="js/lib/writingPageConfig.js"></script>
  <script type="text/javascript" src="js/writingPageFactory.js"></script>
</head>


Include js for writing page in correct order
Include js for writing page in correct order
