ve.js: Remove unused hasOwnProperty reference

This was used by methods now part of OOjs.

Also:
* Removed redundant @method tag (was the only function literal
  left in this file with @method still).

Change-Id: Ibcce49dabe0944d920cdd3ebd7db737742123d9e