render flask js file in flask 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>