Universal phonegap.js and media test.