Optimizing for phonegap build