Revert "Upgraded from rhino to dynjs (and therfore to java 1.7)"

This reverts commit f399da29308374adb200ed0a2583844a6aeae232.