could be moved inside of `define`, so it wont affect other js that not in restrict mode.