splitting hoisting example into two files. Fixed small bug with it
changed log message to make example slightly clearer
adding support for error messages in the console