Fixed JS test