How can I properly call a javascript function to act on a value coming from EJS code block? My situation is on the front end, where I am parsing a value with a forEach... loop and I want to format a variable with a function I declared in another js file that I included before.