First cut at a Phonegap plugin based on Mixare