Revert "Fix for tests getting old or no JS"

This reverts commit 0fc9938671a51a309e01fcc3cc8b64772193803c.