add export class to send compressed javascript to browser