script in ejs

trying to put script in ejs but can't use <%=tweet%> that's passed in
ejs inside script tag