hi everyone!
on thehen's github there's a plugin that works on export.
(it is missing features though.)
hope this helps.
https://github.com/thehen/LeapJS-Plugin-for-Construct-2
Develop games in your browser. Powerful, performant & highly capable.