mycroft.js sendManifest corrected to new functions

sendManifest() has poor code coverage. Aught to fix that.