some work on JS test