adding window namespace to module