Do not use constructor.name, which doesn't work on MSIE
Get MSIE warnings working.  Fixes #175.