fix compile errorf
add javascript interface
bug fix
bug fix
add javascript interface