write js file in js code example Example: html bind js file <script type="text/javascript" src="path-to-javascript-file.js"></script>