Switched to require.js, and things are uploading again, tests broken though...