- Make eventcollector work properly
- Don't include base script in POST requests
- Improve logging in Javascript base script