logging works in javascript too!