fixed "on" and "off" in Object prototype