added phonegap libraries