updated documentation and main js

Signed-off-by: jiarongxu <roger@fangohr.com>