Improve assertion error message
Fix function name detection on IE