js init test