use js instead of dart to test something