phonegap assignment