added platform testing js