set up js test rig