add js basic test