initial implementation of publishing with phonegap build