generate js content && cover simple test
add reading template from html file
fix