Strip js from main