Test for javascript