SugarJS Compatability

Use hasOwnProperty to check if the method exists, to mixups caused by merge function added to the Object prototype by Sugar