test for js