XML to JavaScript object converter.