make the js run about 2.5 times faster