Prevents redundant script loading by using a conditional flag to ensure the module is initialized only once.