Changed plugin interface to Crodova's CDVPlugin