How to access a bundled ES6 class in inline