A javascript engine in Java