removed external CDNs, added local libraries