testing js idea