Sometimes value of constants is not set when running a script I have a javascript file that sets the value of constants using namespace.