The current version of EJS only support wav file.
You can add other java library which support mp3 if you want to use mp3 in EJS.
For examples: Jlayer-MP3 library at http://www.javazoom.net/javalayer/javalayer.html