Fixes wrong static call to DOM load