fixes greet()/laugh() and adds console.log check
removes debug output