blog: add javascript test with mocha blog