0.5.4 version : merged with cordova plugin code from tag r0.5.4