echo function arguments to browser console