Fixing phonegap structure