add feature test and support js.