move react js to module
automated testing with mocha and chai