Added 'global', '__filename' and '__dirname' globals.