test for js working