js compatibility testing