Making phonegap-build a multitask