Thank you so much for the reply.
I did find a way to make JS work.
var myRoot = this.bookmarkRoot;
myRoot.createChild('11.2.1 Adaptive Huffman Coding','this.pageNum=591;');
It does create a bookmark and assigns it a page number via an action and it does show up on the tablet but it does not work.
In doing some more research on the problem I found the execMenuItem method and it will create a bookmark for the page that you are on. This looks to me like it simulates the UI. So I have started to use the following in a loop:
this.pageNum = 32;
this.bookmarkRoot.children.name = '1.2: Computer Systems: Hardware and Software';
Using this method you have to control both the page that you want to move to and the index of the bookmark but this is a simple task. Both versions move through the document in about the same time.