Fix static_root js global variable