Demo of a first attemt at making a phonegap plugin