I figured it out. Our i-doit instance is set to require authentication from JSON-RPC calls, which are not included in the JS files in the module. I unchecked this option and it works. As this is a test environment this is fine for now, but I may need to hard-code authentication at a later date when we move into production.