Consistant defining of new methods on Function.prototype
Prevent redefine errors if script is included multiple times