flask load js file code example
Example: where to put js files in flask
<script src="{{url_for('static', filename='somejavascriptfile.js')}}"></script>
<script src="{{url_for('static', filename='somejavascriptfile.js')}}"></script>