javascript instruction send