use first libpath
add some API
add DOM event support
fix typo