Simple XML to JavaScript object converter.