Fix Reference Error

onsole => console

Caused app to crash