Refactoring name of variables and methods name (Phonegap to Cordova)