You should ommit the .js in the script tag data-main attribute.
So the following: <script data-main="js/main.js" src="js/vendor/require.js"></script>
<script data-main="js/main.js" src="js/vendor/require.js"></script>
becomes: <script data-main="js/main" src="js/vendor/require.js"></script>
<script data-main="js/main" src="js/vendor/require.js"></script>
Be the next to comment.
You should ommit the .js in the script tag data-main attribute.
So the following:
<script data-main="js/main.js" src="js/vendor/require.js"></script>
becomes:
<script data-main="js/main" src="js/vendor/require.js"></script>