Enable dock badges on OS X using Apache Cordova