Better js init