Added send box functions and sending jscript