Move the call to "execute" to a method that can be overridden. Needed to allow running the JS code in an event loop thread in Nodyn.
Merge branch 'fix-event-loop-in-nodyn' into coveo