factor out json messages
100% js code coverage
attempt to merge code coverage with cobertura