write a constructor function way of add option in scriptingTextboxes.js
write a add function way of add option in scriptingTextboxes.js