Simplified js init