Made website check global using window object