renamed Class to not conflict with mootools. fixed IE: not detecting proxy object in parent window