edit README & little fix
add JSDoc comment