act javascript 2