create javascript