A really simple program I made with Rhino in Java. Currently it takes two JavaScript files on load, doesn't handle errors well, and has an interactive mode which can't save its state.