fix build order to match shadowdom.js order