fixed testing js