- working on js callbacks (not working at the moment)
- fixed compilation on windows