New extend method

New method is better supported by all browsers and can extend prototypes that already have content.