Use hasOwnProperty to prevent erros

If you have other libraries in your project wich use *prototype* to create custom functions we need to omit that inherited properties in order to get a valid signature