testing js efficiency