changed libxmljs to elementree to avoid need to compile parser
refactored node-java dependancy out