test for javascript