Expose classes, modules and methods to js