3.1.3
    * fixed hasOwnProperty call
    * some fixes for IE8