So I have little bit html on the footer.php and I cannot load the javascript files
Footer.php
<footer>
Test
</footer>
<script src="./assets/js/jquery-2.2.4.min.js" type="text/javascript"></script>
<script src="./assets/js/bootstrap.min.js" type="text/javascript"></script>
<script src="./assets/js/npm.js" type="text/javascript"></script>
<script src="./assets/js/test.js" type="text/javascript"></script>
</body>
</html>
So when I see on the network on the browser I see the four js files is load like type html.
I used the Eclipse for PHP developers. How can I make the javascript files is load like javascript files not like html files.
When is load is have the mistake for every js file.
SyntaxError: expected expression, got '<'
Edit: Index.php I not have any logic.
Index.php
<?php
include 'views/elements/header.php';
?>
<?php
include 'views/elements/footer.php';
?>
In header I don't have any php or html code
EDIT:
I find my problem is in .htaccess. This is my .htaccess file and when I delete then is working.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUIEST_FILENAME} !-d
RewriteCond %{REQUIEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
could some one tells me how can make .htaccess to working correct. Or some link from where can I see how to configurate the .htaccess file.

htaccessfor it to hide the file extensions or change it.content-type:text/javascript. Have a look at your server configuration..htaccessfile in your current document root.