I think I've resolved the issue with configuration not being loaded. The root cause appears to be a race condition (OH GOOD THESE DON'T GIVE ME NIGHTMARES AT ALL). I put in a pull request detailing the changes, though you might want to check yourself whether something somewhere else got broken since I don't know what's supposed to be working or not.
edit: Oh yeah, and you might want to use your own diff tool to compare the changes, Github's web diff really does not know how to deal with moving large blocks of code around. It thinks I've made hundreds of lines of changes when I really just changed and moved a few lines around.
edit 2: Though, the more I look at it the more I get confused about how it was broken in the first place. Why does $(document).ready
sometimes fire before parts of the script above it? Wtf jQuery.
last edited at Oct 12, 2017 7:09PM