Please let me know what you want to do?
Do you want to call EJS with Javascript or do you want to call Javascript from EJS?