preparation for javascript tests