turn global variables like console into identifier