@aaz With 2018.1 NetSuite announce that client script would be available on external suitelets but I did not tried it yet, not sure if they need to be include in a different way or something.
If you are using getValue and then sending that then you will get only the value in the other side, if you are sending a post you may need to build the object with text and value and send it on your post request.