create javascript 2