correctly edited for build.phonegap