Apparently phonegap doesn't let you build from subdirectories, move all www content to root