https://github.com/apache/cordova-js/pull/61
In my quest to add the browser platform I got a little sidetracked cleaning up the gruntfile. Please have a look. The _btest fails currently but I think I want to move to phantom anyhow. Otherwise everything is identical.