compila javascript com base no java