Added undefined param to JS
- #2377