use local js
add method to get member detail