working phonegap media example