write javascript code inside the ejs code example Example: how to include in ejs <%- include('./partials/nav.ejs') %>