Java to JavaScript Tranformer