JavaScript performance experiments