The bug was introduced in 20a437a833 when the script-loading code was wrapped inside a function that executed only on document-ready. SPR-975
20a437a833