Correct a typo in `getJavaScript` function expression name.
Merge pull request #4040 from EE/api-typo

Correct a typo in `getJavaScript` function expression name.