implement play sound method in application.js
complete js