Added newline to JS Client test for throwing in onReceived
- Thanks Taylor