Update Javascript library

Signed-off-by: Lincoln Lee <git@lincoln.hk>