use lazy module initialization
added a few more implicitly known browser globals