adjust Gruntfile to phonegap