test for the js