Fixed IE8 issue with constructors

Fixed #83.