Hi Joe,
No its not configurable from javascript and not configurable at all in the 2.3.1.7 release.
I implemented an xml configuration file for the coming release and I added the contextmenu by default in the coming release.
I recommend install the latest 2.3.1.9-preview build to get this functionality now. Its a good stable build.
Best,
Joe