Moz Illa Ja Va/JVM-based Java Script
Most people who have used Java Script before have done so by adding scripts to their HTML web pages. However, Rhino is an implementation of the core language only and doesn't contain objects or methods for manipulating HTML documents. http://developer.mozilla.org/en/docs/Rhino_Overview
It is intended to be used in applications, hence there is no support for the browser objects that are commonly associated with Java Script. http://en.wikipedia.org/wiki/Rhino_(JavaScript_engine)
for browser see Spider Monkey