Aligning phonegap files