phonegap: add plugin manager