Simply set g_domEventDefaultMode = 'click'; in the beginning of the 'test' function to enable the previous behavior.