Add type aliases for JavaScript types.

- JSArray: Array[AnyRef].
- JSFunction: org.mozilla.javascript.Function