cleaning up artifacts from CDVPlugin