#64 add phonegap support