add this javascript file in a script tag in index.html. code example
Example: import script html
<html>
<head>
<script type="text/javascript" src="/path/to/script.js"></script>
...
<html>
<head>
<script type="text/javascript" src="/path/to/script.js"></script>
...