Programmer's Guide > Using the AOM > Using JavaScript to Access the AOM > Specifying the Interpreter for .js Files
  
Specifying the Interpreter for .js Files
 
Arbortext Editor supports two JavaScript interpreters. You should specify which interpreter to use to process your .js files. You can include a special comment as the first line of the file. If the first line of the .js file using either form specified in the following examples, then the Rhino JavaScript interpreter will be used.
// type="text/javascript"
or
// <script type="text/javascript">
You can also specify the interpreter with the ACL set javascriptinterpreter command. However, we recommend using the commenting technique as it ensures proper handling of your .js files regardless of the javascriptinterpreter setting.