add step to deploy to CDNs
add template file for cdnjs deploy
fix out-of-order issue when mixing new and old elements