replaced CDNs with local copies
shared counter - still not working, see issues
merged db and counter