Merge pull request #50 from victorleungtw/master

Add mocha and karma
add one unit test for render index html page