Change from "onceStopped()" to "on('stopped', ...)".