JavaScript cannot be customized to show user defined texts on the alerts & dialog boxes.But VBScript offers a variety of dialogs, like Yes-No, Yes-No-Cancel, and many more.
What you can do with JavaScript is create a modal window, with whatever button you require.