fix: console isn't defined in rhino