Lots of JS errors on initial page load

@marlowe-shaeffer I don’t really know. Not that I know of yet, but something is obviously broken, I don’t want it to come back and bite me.