client side cleanup + switch to CDN (cdnjs)