Fix javascript issues for group test analysis

- scheduler did not stop
- NPE because of async. nature of init. method